<?php

/**
 * 	Cloud3 PHP Framework 
 * 
 * 	This program is free software: you can redistribute it and/or modify
 * 	it under the terms of the GNU General Public License as published by
 * 	the Free Software Foundation, either version 3 of the License, or
 * 	( MUST INCLUDING DEVELOPMENT PROJECT ! ) any later version
 * 
 * 	This program is distributed in the hope that it will be useful,
 * 	but WITHOUT ANY WARRANTY; without even the implied warranty of
 * 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * 	GNU General Public License for more details.
 * 
 * 	You should have received a copy of the GNU General Public License
 * 	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * 	README 
 * 
 * 	This project web framework application bundling library from source code
 * 	o	Doctrine	ORM - COMMON - DBAL. 
 * 	o	Symfony 	Yaml Component. 
 * 	o	PHPUnit		GUI - Framework.
 * 	
 * 	And Cloud3 PHP Framework only running for versioning PHP 5.3.0 , if you're
 * 	system no latest versioning PHP this project Cloud3 PHP Framework not running
 *  PLEASE UPGRADE version PHP , or lets common see <http://www.php.net/downloads/>
 * 
 * 	@category	Cloud3 Distribution
 * 	@copyright	Shinobi Technologies Ltd 
 * 	@package	Cloud3 Distribution !
 * 	@version	$REVISION$
 * 	@since		1.0 BETA 
 * 	@license	http://www.gnu.org/licenses/
 * 	@author		Faizal Pribadi 	<theblackshinobi@programmer.net>
 */

/**
 * 	@abstract	__NAMESPACE__ 
 */


/**
 * 	@property	__CLASS__
 * 	@method		CREATE
 */
use Cloud3\Framework\Configuration\Cloud3_Exception;

if (PHP_SAPI !== 'CLI')
{
	if (version_compare(phpversion(), '5.3.0' , '<') === TRUE)
	{
		throw new Cloud3_Exception(ucwords('uppss , sorry no running PHP CLI'));
	}
}

class Distribution 
{
	var $distribution  = array ();
	
	
	public function __Configure (array $config)
	{
		if (is_array($config))
		{
			foreach ($config as $configure => $con)
			{
				$this->distribution [$configure] = $con ;
				return $this->distribution;
			}
		}
	}
}

	$array = array('configuration' => array('README' => 'LICENSE.TXT' , 'AUTHORS.TXT'));
	$new = new Distribution();
	echo $new ->__Configure($array);
